do lookup on window object for function