Cleanup webservice
Simplify lockerPort since it's in defaults.json
Actually use res.jsonErr
Join declaration and assignment
Comment out debug log
Fix broken ijod.test.js
Separate (most) middleware into its own file