Reimplement bugs statistics using flot.