Fix off/removeListener call

regexp, ctx and aren't defined!

@reinpk @ianstormtaylor