trying to get js for categories to work
merged