Split path data loading and html generation.