updated core js file