added comment to click to close on js file