added validate to uuid
use uuid's validate
added exportjson script
added old id.js, not used now