chore(staticDataService): refacto js promise