Fix jshint problems
Add animation features