fix more js delegate and links