Adding ajax loading spin in command page