Move JavaScript response step code into separate view class. Implement unsaved draft and save button enable/disable