added local dygraphs file and local dygraphs.js handling