changing stringify to nonCircularStringify in a couple paces as it causes issues when attempting to stringify an html element