Update index.js

Change trigger to comma
Add tag on blur