Check for browser compatibility

Fixes #89