experimenting with $.Deferred and $.post