adding conversions for JSLong and test in main