Python Random Generate String Javascript