Use HTML5 doctype instead of XHTML Transitional.
Reference external scripts at the end of the document.