Implemented crude function to conditionally include a JS or CSS asset on a page based on the asset name provided to it.