Update example.js

Removed the export from example.js