implemented ajax request to post to lambs