js on filling editbox