use async call to fix chrome display issue ,and code prettify
Merge pull request #40 from mmis1000/master

use async call to fix chrome display issue #26 ,and code prettify