Remove non-alphanumeric characters from dataset.name to avoid issues with class names (#610)

Replaced dataset.name with dataset.name.replace(/\W/g, '') in typeahead.js