Fixing «TypeError: html10n.on is not a function»

The use of "on" give me a «TypeError: html10n.on is not a function».

This commit fix the problem.