updated regex.js Pulled the contents of regexPairAdd() out of the function declaration and put it into an anonymous function attached to the onclick event for the Add button. Did the same for the regexPairRemove()