Cleaned commons.js / settings.js

- removed some unused (2012 legacy) code from common.js
- moved sensorCalibration array from commons.js to settings.js