small change to DOM and JSON