Python Request Is Not A Function Jquery Ui