Random #FakeUnicodeConsortium

Generate a random tweet for #FakeUnicodeConsortium

HTML

<!--
What to do:
1. Click "Gimme random" or paste a specific character in the text box and click "Do this one"
2. Save the image locally
3. Copy the prototweet from the box below the image
4. Paste this in Twitter, attach the saved image, enter an amusing description between the quotes, and tweet it
-->
<input type="text" size="2" id="specific"/><input type="button" onclick="specific()" value="Do this one"/><br/>
<input type="button" value="Gimme random" onclick="random()"/><small title="Include 85771 Chinese/Japanese/Korean Ideographs and Hangul Syllables [Unchecking this will not remove all Ideographs, but will remove most of them]"><input type="checkbox" id="alsocjk" checked="checked" onclick="init()"/><label for="alsocjk" class="tiny">include CJK &amp; Hangul extensions</label></small>
<pre id="out"></pre>

CSS

.contain {margin:10px;}
.image img {width:196px;height:196px;}
.image {width:196px;height:196px;display:inline-block;background:#99ff99 top left no-repeat;margin:1px;margin-bottom:10px;}
.error {background-size:100%;background-color:#ffff99;}
.errormsg {color:#883;}
.copy {font-family:monospace;border:1px solid grey;background-color:#eeffee;padding:2px;}

JavaScript

var index = [];
function init() {
  index = [];
  var range =...