Improved ie6 support
Code style update