whenEnvIsLoaded(function(){ <%- block %> if (EmbarkJS) { EmbarkJS.environment = "<%- environment %>"; } });