Fixed Double to Int conversion problem in j_value