Supporting multiple contexts on a page