jquery assets issue and lesson not saving properly fix