Added example2 that defines a path in main.js to include jQuery
Refactorized 'connect' to use only one server definition that changes according to some env vars