Python Function Define Global Variable In Javascript W3schools