Lazy initialize compiled script cache