Fixed incorrect math in example styles and fixed IE8 bug