updating js a little