bug fix

js change