ui: js: clipboard: don't parseInt() UUIDs

this lead the clipboard to load images such as `/media_resources/NaN/images` (if UUID starts with character, doesn't work at all);
and `/media_resources/2/images` – using just the first numbers of a UUID, which led to "not authorised" flashes (even worse)