change responsive link in javascript code