Update command-parser.js

add a function for the complaints list