modify tornado-sae source and add some answer for js client