Fix bin/glob_ext to run other directory.
prepare d3.js and sinatra environment.
Refine performance.