Add deferred in JSME to be sure the view as been set