Remove unused HTML and moved scripts to bottom of body