support browsers memory empty check