Moving things around for browerify support. This is now requireable.