Standalone javascript library to make default text and put active cursor into the end of input text value