replace fail by catch
fix restjs usage
load google synchrone way
add test for AppDispatcher
add travis support