Fix bug causing initalizing typeahead on multiple elments at once to crash. Fixes #42.
Merge pull request #51 from jharding/42-multiple-elements-initializaiton

Error thrown when typeahead is initialized on multiple elements