Bug fix, IE11 fix, and code cleanup

Fixed a minor bug on the chart x-axis, made site IE11 compatible, and
cleaned up code files.