remove excess code
minor refactor and remove battle.js
remove redundant code
add buttons to map view