Hook up the new endpoint which returns js, css, and html