Fixed if statments
Merge branch 'new' of https://github.com/eaharding3t/nodeJsDemo into new