move domkol.js to top-level