Added sanity check to set default Url in store 

Had to do this cause IE returns a syntax error if the url is empty string...