update linked javascript files in header