Client library embedded into iframe