Create appointment.js