ToggleTestMode

ToggleTestMode adds a link in the oasis toolbar or the monobook toolbox for enabling or disabling the JavaScript test mode from any page on any wiki so you don't need to go to a JS page to enter it.

Installation
Add the following to your existing importArticles call: