remove tabs, xhtml, -moz and moved script to bottom