Added TODO. Cleaned diff.js