Not browserify compatible
Rarity, some coding style improvements
console.log cleanup
Better errors