Update core.js
Merge pull request #14 from michielbdejong/patch-5

Update core.js