Python Error Typeerror Set Object Javascript La