a few fixes in webapp/example.coffee