Add JavaScript conditional loader.