update webcore.js