Added script.js to loadScript.js and added a srcDirectory that points to the correct url