Revert "JS improvements to filter SampleType by SamplePoint"

This reverts commit 5e6230fd4780472f8245c32f4ab2a683a3211322.
Re-do changes (without tab spaces replacement)