Filter for multi-page javascript application based on Backbone