Changed animations to transit.js