normalize exports object for browser environment