bugfix addTarget for animate.js