improved specs, changed from google to dygraphs