Update core.js
Merge pull request #35 from dima-bzz/patch-13

Update core.js