Updated modal box js