created animation.js to power animation