Remove jQuery from Autosave class
Autosave class expects a jQuery collection as one of the constructor arguments and then uses the collection method within the class. We should remove this reliance on jQuery collection and replace everything with native methods and objects.