Fixes #239 (one JQuery body per module)
Fixes a number of forgotten and misused semicolons
Removed archaic commented code