jquery running flask