NOJIRA: Removed some cruft from PublicSearch.js, added some comments