Update js/recognize.js