From the Save/Restore example, the only thing that needs to be captured is the JSON values & stored in a plain text attribute.
Generating this signature requires the relevant .js files. I can't see any javascript code that would need to be inserted in Aware's form layouts.
You just include the relevant .js & css files in the startup.html file.
In the Object's form section you would need to have aplain text attribute to capture the JSON + a HTML cell type for the signature area.
The programming is required to insert the JSON into the plaintext attribute & then you simply save the object.
It sound simple, but the hard part (for a non java programmer such as myself) is to get the JSON onto the AwareIM plain text attribute.
Maybe modifying the .js files would accomplish this. I don't know.
Cheers