I suggest renaming 'urls' to '${n}settings' (or better yet just pass in an object literal) and passing in jQuery selector strings as additional properties in ${n}settings because it will make the javascript simpler and clearer without the string concatenation.