inject javascript during onLoadProgressChanged for nigh mode