If I have the following in my html:
<div style="height:300px; width:300px; background-color:#ffffff;"></div>
$('div').removeAttr('style'); (From Andres's Answer)
To make this a little smaller, try this:
This should speed it up a little because it checks that the divs have the style attribute.