Testing error handling in JavaScript and Ruby.  Using ajax to send data to the web server.