Fix issue where spinners push the state to the browser history, clashing with stack.js

Added `e.preventDefault()` on valid targets to disallow spinners to append anything to the address bar and push a state to the browser history.