review);
	{{if .ID}}{{else}}var saved = H.get('constructionSite', '');
	if (saved !== '') {
		editor.setValue(saved);
	}{{end}}
	updatePreview();

	{{if .ID}}{{else}}window.addEventListener('beforeunload', function(e) {
		if (!justPublished) {
			H.set('constructionSite', editor.getSession().getValue());
		}
		return null;
	});{{end}}

	if (hasBuilt) {
		$('header').append('<a href="/houses.html">my pages</a>');
	}
	{{if .ID}}var token;
	for (var i=0; i<houses.length; i++) {
		if (houses[i].id == "{{.ID}}")