Add AJAX boilerplate.