Thread:Brandon Rhea/@comment-5865360-20141107140245/@comment-24199126-20141107160204

Sorry to butt in, but the Avatar Wiki has it. Its code can be found here:

http://avatar.wikia.com/wiki/MediaWiki:Common.js/imports.js

Hope this helps :)