Fixed up handling of "show hint" button.

This goes along with "https://github.com/code-dot-org/dashboard/pull/1065".