Simple regular expression tester written using JQuery