extended on method in jquery extension
changed names of params