clean code
better test on foreach
clean console.log
use "done" instead of "success" for ajax callback
use append instead of html
remove fr class name
modify DOM just once