Updated Core.js and index.html