modal javascript was missing