Added check for the new yacw 'uri' property

Now that yacw has a `uri` property in options, it's incorrect to throw an exception only when `name` is not present.