Fixed the class and id issue of the JQuery generator