Jquery based insertion into db