better naming
update js file