fixed up js files