fixed link problem with js