updated  js