0.8.0, rewrite then.js