Protect against spin.js not being loaded - workaround for issue 5