Automatic upload of pasted images via JS; add i18n