refactored build scripts, added simple benchmark.js