clean up the code
add slots detail on AJAX page for timeline calendar