Create loadScriptFns.js