convert all files to js