removed dependency on jquery and jsdom