Issue #2328105 by Pacoup: Fixed Custom Search JavaScript Typo.
Merge pull request #2 from wet-boew-wem/7.x-1.x

Merge Fixes from 1.x branch to 2.x branch.