JS and HTML updates

Added calculations for third and quarter amounts of stitches.