Fix an error in the example.js file