jquery compatibility mode

I'm using the jQuery in compability mode, two little changes and simple-expand is also useable in this mode.