Add jquery.transit.js library to replace $.animate().