findMinValues and findDistinctValues functions

JS Tasks findMinValues and findDistinctValues both completed/commented.