add js widget for category filtering