fixed a bunch of missing semicolon errors in js.
fixed quotes breaking display of TW edits.  re-tested single quotes; seems to work