pretify and ajaxify