Created jQuery plugin based on prototype code. Still not working.