Javascript Passing Array To Function Using Python In Google