add window.location at startup