python_to_pythonjs.py: writer has only one buffer