Use Esprima to validate JS source