Adding core.js to store all globals
Revert "Adding core.js to store all globals"

This reverts commit 3f3ff5f49b29ea1934d44cde2194c9cd8ec757f0.
Adding core.js to store all globals

-core.js will store all globals
-new_app.js will be the new CustomEvent/handler method