Add method to manipulate DOM to add LINK and SCRIPT elements.