fixed offerHelp() to work with javascript.