At.js is an autocompletion library to autocomplete mentions, smileys etc. just like on Github.
Website Demo