extensions depending on jquery: jquery must be passed via constructor