more clean up
clean up, added midpoints to centroid perspective
latest generated js for demo