Fixed issue for showHint dialog

Finally found the issue that was preventing showHint to properly show...
Now I get a list of hints from tern... Yay!