script and html structure