Ensure proper DOING_AJAX chexk

Will load currently if `define( 'DOING_AJAX', FALSE );`
Merge pull request #1 from JustinSainton/patch-1

Ensure proper DOING_AJAX check. Props @JustinSainton