updating process to push jQuery object if provided