It seems John L. Lee has wrapped spidermonkey using Python - allowing python to execute javascript. Fun. For more about spidermonkey see here or here.