Removed some index.js specific code from other.js.