clean up broken survey JS