retyped js files