Why do you define it as undefined rather than empty string or something like that? Is this a javascript convention?