Updating the jQuery to allow different configs