Adding backwards compatability for jasmineReact.renderComponent