use indexOf for checking if text exists in user input
refactoring: create a unique hash on plugin's init so that on users input it doesn't loop through on a same text