I am not sure if removing style before triggering tabs is a good step. There will be a while, when elements will be not styled at all.