I think it still helps to distinguish the dygraph code from other .js files at the toplevel such as phantom-*, stacktrace, and excanvas, but in hindsight using subdirectories would probably be cleaner. What would you think about moving files to src/ and libs/ directories respectively?