added some stuff

check what page of the CP we're on so JS is only included on Structure page
Merge branch 'master' of https://github.com/dgrebb/Structure-Search