The previousSibling of Node for JS returns the previous sibling.
node.previousSibling
nextSibling
baseURI
childNodes
cloneNode
compareDocumentPosition
contains
firstChild
getRootNode
hasChildNodes
isConnected
isEqualNode
lastChild
nodeName
nodeType
normalize
ownerDocument
parentElement
parentNode
Web Hypertext Application Technology Working Group (WHATWG)