fixed errors in arangosh (browser)