EMBRYO-265: removing dependency on jQuery