Update core.js

Adding faster methods for Math.round/ceil/floor