Implemented parser for JavaScript like scripting