Admin Forum:Javascript's equivalent to magic words and transclusion

I was wondering if there's any way to transclude pages using javascript, for example, to display a short page into the siderail. That way I can edit the page normally without having to touch the code too many times (the js caching is slow.)

It would also be glad if someone can point me the equivalent to magic words, for example: or  in javascript, I knew there's a list to all the variables somewhere. I'm very new to JS. Any help would be appreciated! -- Mfaizsyahmi  (talk) 21:28, April 7, 2012 (UTC)