Update loader.js

added license script