Using Flask with the Facebook JavaScript SDK and jQuery