Fixed domlibrary.js syntax