* added uuid function to dom.js.