update js_files helper