implementing wordRace dispose() for HTML5