delete refernces.
restore references.js.