[#145] Replace data when loading from AJAX

Partially addresses #145