Update assets/js/edd-ajax.js

#821 - Fix Ajax login issues