Update show-hint.js

Made hintId useable to the render function.