Fix debug dependency.

When debug is used, it should be put in dependencies, not only in devDependencies.
Otherwise, when installed normally (without devDependencies), the program crashes.
Add assets.

Mainly for c3.js