Fix a bug that stops category.js from working properly.