Twitter Typeahead.js with Rails asset pipeline