How to set up Python server side with javascript client side,server.serve_forever()