Most javascript unit tests run on node js (or equivalent). There is a new service which run's unit and integration tests directly in the browser. It's currently in its beta phase and looks very promising. It's free while it's in beta (there are no information about final pricing yet).

Cypress.io