Incremental ECMAScript parsing example