add files and modify some js