pages created for all app pages (in html), need to get JS part working