fix js for jtt