JoJo, the Javascript Junk generator v.0.0.1-alfa

Generate me KB worth of Javascript Junk

Result

Here is the generated javascript junk:

Web service

You can use this functionality also as a REST web service. Just send a request to:
http://tools.w3clubs.com/jojo/jojo.php?size=1
and replace 1 with the size (in KB) of the file you want to generate.