Handling JavaScript Errors in React | ReactPlay