Solving Issues With Floats in this JavaScript for Dummies Example