Update ajax call to work with jquery 2
Run tests with jquery 2