Sending form with AJAX. Source: http://blog.ponyfoo.com/2013/07/09/getting-over-jquery