Modified for better browserify support.
Name change.