Made animation a rjs module