move onebox master class to template; fallback to url for sitename