Update Spinner.js - Fix bug 7770

This fixes bug 7770 that I reported today.