Iterate Over Array For Loop Javascript Html Parser Python