Time-resolved laser induced degradation of polystyrene