editing subject then and when
asynchronous:: edit $.when.js