More work on javascript version. Small python fix.