Documentation formatting and tweaks
Fix unterminated JavaScript statement
Fix reserved JavaScript word used as name
Fix unused local variable
Fix HTML tag not allowed in element
Fix duplicated and unmodified jQuery selector