update final js