I think you'd want to only support a partial rebuild e.g. one where you update to reflect changes you made in jEmplode, and otherwise (full rebuild) let the player do it, as that will cover probably 90+% of rebuilds anyway?