copied the html template to ejs template and fix the clicking time_slot issue