Properly load the core js file