Fixed some html/js formatting

Added HTML5 doctype
HTML attributes use double quotes (")
JavaScript strings use double quotes (except google analytics)
JavaScript indentations are 2 spaces
Made sample invoice more readable