appointmnet js object