Python Create Json Array Javascript Append To Innerhtml And Outerhtml