Fix module-dialog syntax error and JSLint.
Merge branch 'master' of github.com:miiicasa/module