Update core.js

Fixed a critical issue introduced in 2.1.5b254 involving overridden
accessors.