Using Innerhtml In Javascript Object To String Python