refactor esc key in backbone