Update spritz.js

Reworked the pivot function