Added loader.js file and stopped DOM