remove host from resource url

this allows the use of asset_host and ckeditor and still works without asset_host set as the /assets is a valid relative path