`Diaspora.I18n.t("photo_uploader.completed", file=fileName)` is not valid JS, it appears
`Diaspora.I18n.t("photo_uploader.completed", {'file': fileName})` seems better to me...