Added type parameter to add_script() and add_style(), useful for alternate types, e.g., text/jsx