separated scripts and html