Fixing category.js