Crosslinking of polystyrene via pendant maleimide groups