add caret helper
refactoring, add update functionality to be able to trigger an event to update plugin status
refactoring, create an input check function
some refactoring on input change functionality
some more refactoring
remove change() from updateStyle
bump up to v0.2.2