Ok, make sure getEffectiveXtUser is invoked either inside of js_init or somewhere else provably before this statement. You can't just delete it.