add times to html page
fix getLilaIndex() and add time functions