Rubular-inspired JavaScript regular expression editor