JSHint: unescaped square brackets in regex

Some square brackets (] and [) were not properly escaped when being used
in regex. They were marked as FIXME entry, so being bold and fix them on
sight.
That probably deserve a human test in the web interface.

Change-Id: Iaefe3870b5e5b645fc668e36169b841ef7f48c34
Merge "JSHint: unescaped square brackets in regex"