Added indexedDB script - Updated script