updated js references on index for modal fix