Make it compile in browserify