Update js file to append close button to overlay