Javascript Array Is Not Defined In Python A Namespace