var lighthouseapp = new exclusivelighthousefeature(); lighthouseapp.initialize(pre-installed procedures); while(!forsake) { lighthouseapp.navigate(); if(needtostartover) { lighthouseapp.resettoorigin(); } }