Does anyone know if there is a way of making a font thinner by using some Javascript trick?

I'm implementing my design for a dark website with light text on top and the text looks much thicker than in Photoshop. It's a known issue, I realise now, but I'd like to find a sort of hack even if it's an ugly one.