Golang Generate Random String In Javascript Method Object In Java