Added auto-accept

Very messy commits (failed manual merge)
No. `addJS_Node` relies on the DOM. I did move it into the function though, as you seem to prefer that.