Update core.js

semicolon