add javascript file for update