Separated rubyNumToJS into Fixnum and Float specific funcs