fix possible error on safari private mode
fix possible error on safari private mode

prevent crash on safari

PillowPillow/ng2-webstorage,PillowPillow/ng2-webstorage,PillowPillow/ng2-webstorage,PillowPillow/ng2-webstorage