updated javascript file