updated javascript linking