Little code style changes in hints.js.
Fixed none left hint mode if no hint is available (#53).