Make Sandie function, submit with AJAX, result written to console