XXX: gen_regions.js code style fixes

Passes gjslint --strict
XXX: gen_regions.html code style fixes
XXX: fix trailing whitespace in jquery assets