java and js file update