Simplified the config stuff in hints.js.
Leaf hint mode if hint prompt is not valid.