js fixing