added copy text to JSInterface