switches order of imageloader js