Updated Module.php for front and added js like backbone, jquery, require.js etc and changed index.phtml