Sample project using $.Deferred