Fix typo in code sample

The full code (`examples/promise/chrome.js`) is correct, the typo was just in the README.