Segment filtering wrapper is in place, all we need is to implement the Javascript now :)