Issue #42: Some few cleanups in lib/domplate.js