Fix path/DOM ID updating and allow DOM ID to be customized
Order page fragments when rendering