cleaned up browser mixin