Polyfil checks if label or value are undefined as opposed to 'undefined'

This fixes the issue with IE8 displaying undefined if no label is there, when it should display nothing.