javascript doesnt auto floor ints