Improve jsme deferred