final js