Fall back if require('esprima') fails in node.js
Merge pull request #118 from zentner-kyle/master

Improved `window` check for specific enviroments