fixed --javascript.check option for arangosh