Fix in adapter.js for chromium builds on Mac which don't have version info.

Updated with Justin's suggestion.