Update JavaScript