Replaced chai with expect.js for IE8 compatability.