Javascript float issue (round() will not work)