update JavaScript links