update loading method and animation
update loading method and clean app.js