Changed NULL to null in domlibrary.js