remove reliance on jQuery