Added support for namespaced JSX based on @roadhump's aa6b558f2a09aec1266c993e5424414d881e3b7e