Using Innerhtml In Javascript Object To Array Python Methods And Classes