Load search javascript into install page for preview