llamar a la función anónima mientras lo declara

var step = (function(){
    // this code is executed immediately, 
    // the return value is assigned to `step` 
})();
Parotay