rebuilding identity.js