Change jQuery code fragments into prototype.
Make plugin works for prototype 1.7
Add file to test