minor fix to REST React.js sample