reorganize all js files