Scope pie js to search page

Pies not showing on inbox page due to unscopped js for pie on search page.