grabbing filtering changes from js