Switch to HTML5 doctype

Move script includes to the end of the body

Use jQuery to run initialization code