updating if..else statement
Merge pull request #18 from nodejsnyc/develop

updating if..else statement and other minor updates