remove dependency on jquery