See Load script from external resource error - #2 by StephenOTT. You need to ensure your scripts are in the lib folder