modified some js files