Various improvements to the JS side
Various improvements to the JS side

Should fix a few small issues but with a few others remaining.

dvarkin/bullet,lpgauth/bullet,studzien/bullet,jamhed/bullet,fenollp/bullet,bosky101/bullet,marianoguerra/bullet,dvarkin/bullet,fenollp/bullet,jamhed/bullet,extend/bullet,lpgauth/bullet,bosky101/bullet,K2InformaticsGmbH/bullet,timCF/bullet,stwind/bullet,emb/bullet,emb/bullet,studzien/bullet,K2InformaticsGmbH/bullet,ninenines/bullet,bearyinnovative/bullet