added domlib.js dependency