passing the intent object to the jquery trigger intent operation and cleaning up the tests so that ie doesnt cry