[JS] add images loaded plugin