Better use of promise in OC.L10N.load()