fix copySuggestion script's document ready race condition
fix 'loading bar only appears on first page' bug