Jquery Loop Over Array Python Initialize Two