clean up example code

BUG=

Review URL: https://chromiumcodereview.appspot.com//12656009