add filter liquid code for passing list to javascript
add initial improved dedup implementation