add inject assets to layout file