Added stuff from desktop and underscore.js.