update jsx to v2.0.4

upgrade jsx and make adjustments for new api
Merge pull request #110 from talentdeficit/master

update jsx to v2.0.4