$JS$-metric spaces