Rewrite appointments.js#findHours to use JSON. Update appointments_controller#index to render @new_dates as JSON