use comparison to "location.hostname" for tighter code