created the unique id generator
tts utils js merged