Update parser.js

updated parser to get list of classes by ENG departments.