adding js to removing mt2 if present