remove statically loaded script