As I told you in the other PR, ~~ is much faster than your floor conversion, and is equivalent. See http://jsperf.com/math-floor-vs-math-round-vs-parseint/18