Registering as a jQuery Plugin.