JavaScript Math Bug
codepen.io