Python Define Global Variable And Local Variable In Javascript