Javascript Ajax, Tornado static_handler and post_handler