No dots in directory paths, posixpath.

Renamed typeahead.js directory to typeahead.
Using posixpath to join URL paths for Windows compatibility.