testing to see if localhost has anything to do with window location  = xxx issues