Python Class With Statement Javascript Editor Error 0x80004005