pythonjs backend: fixed typo in remotedocument.py