try and catch of user.num js