Fix javascript issue with kramdown