Reformatting and credit tweaks
Check against proper method
Added new JS module

Fires wikipage.content hook for right sidebar elements.
Major bug fixes; got it working.

Nothing in the MW API seems to work the way it says on the label. Don't
know if it's bad documentation, or bugs, or some of both. Suspect mostly
the former.