Javascript pie style progress indicator