Decouple node buffers to also work with RequireJS, fixes #4