updated index.js to allow a match, renamed token to context since it can be very general
0.2.0