Switched var style in filter.js