frontEnd share js by textArea working