moved loading spinner animation to app.js