Fixing jquery plugin and adding effects on jquery.