changed Math.floor to ~~ in core.js
bug fix