Fixed the code to make it compatible with the new polyfill however the constructor of Animation when a function is passed in is not compatible with the one in the specs Please enter the commit message for your changes. Lines starting
Fixed the issue
Added the relevant FIX ME comment
Fixed the issues with parameter namings
Fixed the parameters issue
togglePause works now
Merge pull request #21 from nainar/fixbounce

Fixed the code to make it compatible with the new polyfill