typeOf(location.toString) 'undefined'