change loader to optional loading jsdom