Made AJAX + JSON safer and GET