assets: Simplify promises handling with js async/await syntax
It enables to obtain a more readable code with less indentation levels.