Trying to change from the jquery plugins to already given  code.  Still need to attach events and make sure everything works.