Added almond to build and replaced node exports definition with true amd return statement;