use own center implementation instead of relying on jquery

The resource browser is currently relying on the `scrivito_editors` to provide a `center` jquery-function. This PR removes this implicit dependency and replaces it with a local function that does not extend jquery.