removed animation interval
Removed legacy code and updated minified script