Rename loader.js to js/loader.js

move loader.js into js directory