added readme file and minor battle.js updates