Fixed popup showing even when no word is under caret
Removing anonymous function