Small javascript update

Text replace updated for mins instead of min