Migrate to expect.js - tests now working across browsers