Remove whitespace at end of wp.ajax call