added mock ajax so creating mock ajax calls in jasmine would work