Updated build for browser testing
Fixed issues for browser distributions
Added client-side tests