De-lint example/main.js
Remove Squire dependency
Add tests regarding the use of module constructors