Moved submit.prop('disabled', false); from .always() to if (keys.length)