Add AJAX to apply link in search.mote.