Refactored code and improved performance
Merge branch 'master' of https://github.com/syranide/react-swf