Fixed syntax error in loader.js