Fix regexp named groups (unsupported in FF)
Fix regexp named groups (unsupported in FF)

Also fixes a small, off by one error, noticable when pressing the down
arrow on the last row of a controlled input field.

WorldBrain/WebMemex,WorldBrain/WebMemex