Fixes a div by 0 error
Update mm.widgets.js

Quick fix, listeners weren't being properly attached.
Merge pull request #59 from moodlehq/div_by_zero_fix

Fixes a div by 0 error