started adding one-page-app support