Remove unnecessary code from example.js