await jsDocumentOpen(documentname)

Check if document is open and switch to it if it is, if not open it

Parameters:

- documentname | the document to open or switch to