fix js file position error