Moved localStorage to vendor