get rid of esprima and start using plain file reading