 
   pathString = "M " + points.shift() + " L "
   pathString += points.join(" ")
-  pathString += " Z";
-
-  $("#star").attr("d", pathString);
+  pathString += " Z"
+
+  $("#star").attr("d", pathString)
 
 drawQuadraticStar = () ->
   innerPoints = innerPointStrings()

  sectionStrings = points.map ([inner, intermediate1, intermediate2]) ->
    "#{ inner } L #{ intermediate1 } A #{ radius } #{ radius } 0 0 1 #{ intermediate2 }"
  pathString = "M " + sectionStrings.join(" L ") + " Z"
  $("#star").attr("d", pathString);

drawStarWithQuadraticTips = () ->
  if $straightPercentage.val() == "0"

  sectionStrings = points.map ([inner, intermediate1, control1, control2, intermediate2]) ->
    "#{ inner } L #{ intermediate1 } C #{ control1 } #{ control2 } #{ intermediate2 }"
  pathString = "M " + sectionStrings.join(" L ") + " Z"
  $("#star").attr("d", pathString)
