get esprima to shutup about illegal return statement