Mechanism to use Rails translations in JavaScript
Image uploading