Addded comments for jquery functions