only print LANG in Travis builds
minor fix to set assignments
fix broken references to constants in Asciidoctor.js
replace double quotes with %s() in warn statements
minor optimizations and cleanups