fixed some mistakes
modified index generator script, bart made a nodejs implementation for d3js. will prepare to move from django to nodejs