Fixed layout, javascript, and overall funtionality of sensors app