Removed unnecessary code and fixed jade class syntax