Avoid duplicate results when randomize, jquery support for editing SVG files