Prevent JavaScript TypeError when not using a hint

I am not using a hint. Just a codeword.

I was getting: Uncaught TypeError: Cannot set property 'onclick' of null
because "hint_icon.onclick" was being set when hint_icon was null.

This fixes that error.

(Thanks for the gem, BTW!)