fixed bug with unscoped access to property
use prop instead of attr
push DOM id to input instead of DIV
added support for custom events and added "enter"