Golang Generate Unique Random String Javascript Methods