AMD: load modil.js and AM packages in a proper place in Monobook