Load resources from template using script() and style() functions.