Fixes 2 issues. (1) intercepts space and (second) enter. (2) fixes issue #16 - stray alif hamzas appearing at the end of results in Firefox