Updated error pattern to latest specs, tweaked server.js and added some comments