Jquery doesnt like not whole numbers