updated timegrid to get rid of simileajax