A wrapper function that helps to write conventional object-oriented jquery plugins