do not build production branches in travis
do not use navigator.onLine check any more (Chrome Bug),  #322