Error thrown when typeahead is initialized on multiple elements

Fixes #42. Previously, the following code wouldn't work as expected:

```html
<input class="typeahead">
<input class="typeahead">

<script>
  $('.typeahead').typeahead({ /* ... */ })
</script>
````