Added API to set recognizer parameters in recognizer.js and documented the whole thing