Using a dummy span element to calculate the input width.
Tweaked input width calculation.
Merge branch 'master' of github.com:oakmac/autocompletejs