Refactor asset path rendering