V1.6 - Implemented functionality to restrict from previewing if browser doesnt support localStorage

Resolved #22


We have removed window.onlaod event and now we are clearing localStorage object just after getting the values from it.