Using Innerhtml In Javascript Object To Array Python Methods That Only Takes