prepareing for one page app