simple javascript specification pattern implementation for nodejs / browserify