The only problem with the UUID method, and I'm sure there is a way to fix this, is that every time I open the document, even after saving, the UUID changes. And with the JavaScript, I can't get it to work at all. I've tried it in the docReady, form:ready, and layout:ready, none of them seem to work.