Update core:js

Quick fix of a few typos.
Merge pull request #96 from videlais/patch-2

Update core:js