Fixed loader.js issue