$(document).ready(function() {
	$(".assetSize").each(function() {
		var filesize = $(this).text() / 1024; // KB filesize
		filesize = Math.round(filesize * 10) / 10; // round
		if (filesize > 1000) {
			filesize = filesize / 1024; // MB filesize
			filesize = Math.round(filesize * 10) / 10; // round
			$(this).empty().text(filesize + "MB");
		} else {
			$(this).empty().text(filesize + "KB");
		}
	});
});