Make assets path relative in index