Seperate html and js from php

This makes the file easier to manage.