Split script.js into core objects and app
remove extra line