use mousedown instead of click. because click fires after input blur, while mousedown fires before input blur
add keyboard UP, DOWN, and mouse click on suggested word event handling