fixed the js for modal of projects