Fixed:
 - improved jQuery plugin structure