fix js files miss bugs