Resolve JS warnings

Fixes #14
Silence some warnings
Fixed #15
++Puissant