 	collection: new Mongo.Collection "_cloudinary", connection:null
 	_private_urls:{}
 	_expiring_urls:{}
+ xhr:null
 	_helpers:
 		"url": (public_id,options) ->
 			if public_id and not _.isEmpty public_id


						callback and callback response,null

				xhr.addEventListener "error", ->
					response = JSON.parse @response
					Cloudinary.collection.upsert collection_id,
						$set:

								percent_uploaded: Math.floor ((event.loaded / event.total) * 100)
					,false

				Cloudinary.xhr.addEventListener "load", ->
					if Cloudinary.xhr.status < 400
						response = JSON.parse @response
						Cloudinary.collection.upsert collection_id,
							$set:
