Added 'subunset' to tojs.py