fixed issue #27 (tagging: enter key doesn't work in Firefox)