So you want to mess even more the parser, isn't?
Those clouds are very nice. I think instead of asking the parser to do
the whole job and inserting JS, it would better be added by a JS (will
only show to JS browsers anyway). It is even possible now... fulling the
Monobook.js of almost-unused code. What about doing a
MediaWiki:articlejs/<PAGENAME> include (if exists) for each article?