Reduce React lib size for production releases. Closes #1