Improved commenting in parser.js