move price filter javascript to the widget