remove dependency of jQuery in docview