begin moving to CommonJS module style & browserify