'window' to 'self' in npm header.