groundwork for ajax public daypages, history api needed