Styling issues

I was fixing a bug in the npm-version, but I just noticed it is already fixed on github.(Productless device). While I was busy, I did some styling consistency. Your call if you want to merge it or not.