Added fixes for ascidoctor.js