Improvements in prototype

Improvements in prototype based in jquery plugins patterns