Treat Java Floats as JS Numbers