fixing rendering problem in solrsearch js