Reimplemented jQuery classes in order to pass the params directly in the constructor of the instance.