Update index.html

moved space removal to line 21 to allow validator to work with numbers w/out spaces