Fall back if require('esprima') fails in node.js