core.js prototype