this commit fixes #4

When running on linux, it is more safe to use the which command to locate the firefox executable. 

Indeed, 'firefox' is not a valid file path and the call to 'fs.existsSync()' will always fail