XXX: code style fixes

Passes gjslint --strict
XXX: fix trailing whitespace in jquery assets