Hybrid fast user switching - JS APIs