Updated console.log statements
Added loading animation