 
 # Define helpers
 Template.registerHelper "c", ->
-	Cloudinary._helpers
-
-
-
-
-
-
-
-
-
-
-
+	Cloudinary._helpers
								percent_uploaded: Math.floor ((event.loaded / event.total) * 100)
					,false

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

				collection_id = Random.id()

				# Send data
				Cloudinary.xhr = new XMLHttpRequest()

				Cloudinary.xhr.upload.addEventListener "progress", (event) ->
						Cloudinary.collection.upsert _id:collection_id,
							$set:
								status:"uploading"
