Updated to work inside and outside nodejs
Updated to version 0.0.3