Removed stupid attachEvent which is for IE9-.  Because this is a Chrome Extension :)
Removed optional parameter for addEventListener.
Added missing id for input of hint.