small cleanup and optimization
fix: ajax search was using too much normalization for substring search
small performance optimization