@nadineadel please move javascript to app/assets/javascripts/hints.js