Updating links in jquery plugin definition