refactor panels using template
ship coordinate response is sorted by timestamp
refactor index.js/index.html