Fix misspelled variable "pos_category_ids"

remove db.js code not modified, and thus not needed to redefine.