set up pop html, js