native CustomElements (on Chrome Canary) doesn't handle undefined 'extends' option properly, avoid that option if 'extends' is undefined