Re-added getCategoryIDByName to db.js