fixes export when not bowser or nodejs