add buy_books, and add post to server use jquery ajax, user json.stringify, python json.dump