minnor js change