[code] Added AJAX to the mix.