fix typo in my use of String.match(). A few more abstractions of duplicate code.
fix typo in my use of String.match(). A few more abstractions of duplicate code.

ejci/Chrome-Audio-EQ,ejci/Chrome-Audio-EQ