Adds check for window.wp.autosave.server.
Merge pull request #286 from kraftbj/atd-js-fix

Adds check for window.wp.autosave.server.