Fix for searching on older browsers