Javascript for the screenshot paste ck-editor plugin