jsx curly braced attribute compatibility