For making the grid styles support when re sizing the container

following the idea of extension shown here: http://jsfiddle.net/nxmRr/30/

for it to work 100% when the grid styles are not prefixed it requires this change.
Otherwise the <style> tags are added and added one on top the other. And when restoring to previous sizes it won't recover the generated styles correctly.

p.s. 
One more change proposal coming next.