[incremental search] moving emacs specific code to emacs.js
[incremental search] fixing status-message-remove-last-char bug