Removed parser.js, as the code is now too simplified to be contained in separate file.