Fix issue with using Double and Float in JSNI or JSON objects
- Move all Float Object variables to basic double.
- Move all Double Object variables to basic double.

Signed-off-by: Sachin Shekhar R <sachin.r.r@gmail.com>