npm: self should default to window rather than {}.  Remember self as Three.self to allow for late initialization of things like fonts.