Second Attempt
As you see, it’s very rough.. full of errors. All the errors but one are related to the fact that the page is using relative URLs. So let’s try to fix that now.
My second attempt (open in jsFiddle):
{[ .disco-attempt2 | 1.hilite(=javascript=) ]}
produced this result:
Well, all of the above is true and should work not only in jsFiddle but also in any other Online JavaScript IDE [1]. But if you have Google Chrome, forget about all those tricks and use its Custom JavaScript Snippets [2] feature instead. It just works. It’s like having the power you get when developing extensions right from the console.
1: http://en.wikipedia.org/wiki/Online_JavaScript_IDE
2: https://developer.chrome.com/devtools/docs/authoring-development-workflow#snippets