Add loader.js into icat