(function( inDevelopment ) { function launch() { if( inDevelopment ) { return; } // TODO: Everything } window.addEventListener('load', launch); })( true );