IE8 bugfix
add consistent styling
remove debugging code