updated JS to create notifications and a VERY simple filter