final js fix