Eliminate two property gets per jsobject created