jslint, cleaning up example.js