Added img loader to domlibrary