Update core.js
Merge pull request #12 from macrarazy/patch-3

Update core.js