remove jquery dependency
better way to generate uuid