Fix example to pass jshint