Method fixes and Search

Leaving script in index.js for now. I get JShint errors and need some help figuring that out. This script is needed for the popout. It will be used on a few themes so once it's in ther we can utilize it. Thanks!