Add loader script.js that's easier for JS modules to depend on