better autocomplete interaction

if a user tabs out of the field, create a new tag, available with jquery.ui.autocomplete
If a user press enter or tag separator, create a new tag and close autocomplete window

lots of jshint warnings fixed.