added more crossbrowser suppport(checking if localStorage has item lte IE 8)