Update Spinner.js

Changed boolean logic for the variable "running".