This function will add CSS to an entire page.
addGlobalCss(".item { display:none; }",'toggle_id')
Will hide all elements with the 'item' class but, unlike $('.item').hide()
it will also ensure any elements with that class that are subsequently added to the page will also be hidden.
The reference_id
is used as the id of the tag added, meaning that a second call to this function with the same reference_id
will remove the previous CSS.