adding appointment.js (basic and intermediate)