use jquery
keep different instance of the object depending on the configuration
reg plugin now uses jquery