Jquery version of get lead details