fix plugin when there is text in the input
update minified js