removed old parameter onlyBase64
removed unused marker
added new function createSlug