deleted main.js, changed behaviour of the app to use the new scripts