var t=document.getElementsByTagName("SCRIPT"), src = t[t.length - 1].src, baseSrc = src.replace(/(/[^/]*?)$/i, '');