removed undefine function (just use delete now);
build will now modify node module for use in a browser;
made tests compatible with both node and browser tests;
build will now test the code as a node module before build and as a browser include after build;