Connecting JS, jQuery, Flask, and Python