Fix js code to filter by PoS_Type

    Instead of PoS_Category like it was