What makes the DOM in JavaScript essential for web interactivity beyond its HTML representation