Fix click on flotr2 graph and update javascript file.