adds window.location.href refresh as default option when no target is defined