Update JavaScript version handling