|+manan| Adding method wait for ajax