Javascript Turn Array To String Python