Add search class for nojs mode.