Divided script and html