Remove 'core.js' to 'main.js' and move it into 'core' folder.
update constructor.js