removed obsolete latest measurement divs from shared_device.html. removed obsolete code from index.js. changed some method and variable names in index.js for consistency.