Updated th code for messaage
updated for slider and its js part