First commit. Added exporter common javascript modules to AMD and CommonJS modules. Added test to compare the result to expected file.