updated to use ReactJS 0.12