fixed close button,respective changes in js,html