how to send data from javascript to python