Noticed that there was a typo in `index.js` - a missing close-parenthesis on an if-statement.
Merge pull request #1 from garymcleanhall/fix-missing-parenthesis

Noticed that there was a typo in `index.js`