After ResourceLoader implementation, we poor basic js scripts inventors are crying... 

Well, I'd like to emulate with a local js script the toolbox button switching lateral vs. vertical layout for proofread edit window. 
Does any of you know where can I find the needed js code?

I tried too to set, as suggested by www.mediawiki.org/wiki/Extension:Proofread_Page,
var proofreadpage_default_layout='horizontal';
into my vector.js to obtain a default vertical layout with no result. Some users love this layout, I'd like to help them! Where am I wrong? 

Alex brollo (it:ws)