The single biggest factor is your connection speed — a faster tier of internet service makes the most noticeable difference.
Beyond that, a few things help at the margins: closing other tabs and downloads, clearing your browser cache so assets are cached locally, and using a browser with hardware acceleration enabled. If a specific game is always slow, the bottleneck may be its host rather than your connection.