Second stab at this

My second attempt at fixing #13 - the first one was https://github.com/mozilla/node-firefox-ports/pull/15

this passes all the tests because I fixed the missing spaces after `if` that the linter told me to fix :D