Fix JavaScript links