Refactor, javascript use functions.recognize