Simple modular app which  uses   Deferred/Promise  of Jquery