jQuery - window-JS refactor

Refactored Window-JS to call autosave function based on key up