moved signature date to reflect structure of original page
fixed var name
added transform_html and some new util functions