update core .js file