Correct processing js files