LINQ JS - Function programming section