added loadClass, mobileClass and allLoaded callback function as options to the plugin