#6: removed node globals for browsers
1.0.1