fix of spilit.env. external links fix with js