update of core.js

try it out :D