Updated to JSDOM 1.4.0