Added keyword spotting to recognizer.js, and document it all