Update example.js

Noting that string route definitions won't perform as well as function literals or external object/method references.