Future-proofing for coming React/JSX changes

Test Plan: Tested most Perseus widgets.

Reviewers: joel, aria

Reviewed By: joel, aria

Subscribers: jessie

Differential Revision: http://phabricator.khanacademy.org/D12798