gitignored js output files, added buildParser reference to pegjs d.ts, and changed build method to build commonjs modules