Fixed problems with jasmine-ajax.
 Had to add setTimeout clauses to allow for ajax mocking.
Whitespace Destruction Syndicate

Signed-off-by: Gideon Farrell <me@gideonfarrell.co.uk>