show spinner when ajax is taking long (fixes #2)