@ryan-roemer, this dist/typeahead.js is auto-generated by grunt-contrib-uglify when running grunt build, and based on the option beatify: true. I was playing with the beatify options as http://lisperator.net/uglifyjs/codegen listed, but seems there's no direct control on the chaining part, do you have any good solution on this?