Fixing property-style event handler assignment in doc.js.