example.js typo fixed