#125 #51 add java code for searching (ajax btw different domain)