plays with adapting app to html5 history api