Remove dependency on jQuery