Update blend-to-js.py for python 3.2 (blender 2.71)