A cosmic time machine: How the James Webb Space Telescope lets us see the first galaxies in the universe