Put styles and scripts to their placeholders