Fixed Bug with jQuery 2.1.1

There was a few small issues using fx.end and fx.init. I made corrections and the code seems to work successfully.