JS from MD generation enhenced